
CFLAGS = `mylibs-config --cflags` `myImg-config --cflags`  -lz -fopenmp
LDFLAGS = `mylibs-config --ldflags` `myImg-config --ldflags`


OPT = -O3
#-lmyMath -fopenmp
SRC = time_series.cpp
WARN =  -Wall -Wextra -pedantic
ARCH = $(shell uname -m)
#-Werror -Wfatal-errors

CC = colorgcc
#CC = g++

#IGBdata.cpp

all: $(SRC)
	$(CC) $(WARN) -o time_series.$(ARCH) $(SRC) $(CFLAGS) $(LDFLAGS) $(OPT)

space: space_series.cpp
	$(CC) $(WARN) -o space_series.$(ARCH) space_series.cpp $(CFLAGS) $(LDFLAGS) $(OPT)

clean:
	rm -if *.o time_series.$(ARCH)
